package vo;

public class Buy {
	private String kind;
	private	int price;
	private int number;
	private String Cno;
	public String getCno() {
		return Cno;
	}
	public void setCno(String cno) {
		Cno = cno;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public String getKind() {
		return kind;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	@Override
	public String toString() {
		return "Buy [cno="+Cno+"  kind=" + kind + ", price=" + price + ", number=" + number
				+ "]";
	}
	public Buy(String Cno,String kind, int price, int number) {
		super();
		this.kind = kind;
		this.price = price;
		this.number = number;
		this.Cno=Cno;
	}
	
	
}
